﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>视频教程</title>
    <style>
        #content {
            text-align: center;
        }

        #title {
            text-align: center;
            font-size: 16px;
            font-weight: bold;
            height: 40px;
            line-height: 30px;
        }
    </style>
</head>

<body>
    <div id="title">
        <div id="title_0" style="display:none;">视频教程:添加商品</div>
        <div id="title_1" style="display:none;">视频教程:添加SKU</div>
        <div id="title_2" style="display:none;">视频教程:在售商品</div>
        <div id="title_3" style="display:none;">视频教程:下架商品</div>
        <div id="title_4" style="display:none;">视频教程:定时商品</div>
        <div id="title_5" style="display:none;">视频教程:单品促销</div>
        <div id="title_6" style="display:none;">视频教程:买送促销</div>
        <div id="title_7" style="display:none;">视频教程:赠品促销</div>
        <div id="title_8" style="display:none;">视频教程:套装促销</div>
        <div id="title_9" style="display:none;">视频教程:满减促销</div>
        <div id="title_10" style="display:none;">视频教程:优惠券</div>
        <div id="title_11" style="display:none;">视频教程:订单列表</div>
        <div id="title_12" style="display:none;">视频教程:内容管理</div>
        <div id="title_13" style="display:none;">视频教程:商品评价</div>
        <div id="title_14" style="display:none;">视频教程:会员列表</div>
        <div id="title_15" style="display:none;">视频教程:会员等级</div>
        <div id="title_16" style="display:none;">视频教程:申请提现</div>
        <div id="title_17" style="display:none;">视频教程:分销商列表</div>
        <div id="title_18" style="display:none;">视频教程:分销商等级</div>
        <div id="title_19" style="display:none;">视频教程:代理商开通</div>
        <div id="title_20" style="display:none;">视频教程:代理商列表</div>
        <div id="title_21" style="display:none;">视频教程:代理商等级</div>
        <div id="title_22" style="display:none;">视频教程:首页定制</div>
        <div id="title_23" style="display:none;">视频教程:顶部轮播</div>
        <div id="title_24" style="display:none;">视频教程:分类导航</div>
        <div id="title_25" style="display:none;">视频教程:商品列表</div>
        <div id="title_26" style="display:none;">视频教程:图片组件</div>
        <div id="title_27" style="display:none;">视频教程:店铺信息</div>
        <div id="title_28" style="display:none;">视频教程:店铺分类</div>
        <div id="title_29" style="display:none;">视频教程:配送模板</div>
        <div id="title_30" style="display:none;">视频教程:小程序设置</div>
    </div>

    <!--显示视频-->
    <div id="content"></div>


    <script type="text/javascript">

        /*获取URL参数*/
        function getQueryString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
            var r = decodeURI(window.location.search).substr(1).match(reg);
            if (r != null)
                return unescape(r[2]);
            return null;
        }
        function load() {
            var index = getQueryString("index");
            var sr = new Array()
            sr[0] = "http://player.youku.com/embed/XMzA5NTE4NTc2NA=="
            sr[1] = "http://player.youku.com/embed/XMzA5NTE4NjQxNg=="
            sr[2] = "http://player.youku.com/embed/XMzA5NTE4NjgwOA=="
            sr[3] = "http://player.youku.com/embed/XMzA5NTE4NzA5Mg=="
            sr[4] = "http://player.youku.com/embed/XMzA5NTE4ODI0MA=="
            sr[5] = "http://player.youku.com/embed/XMzE0MzM5ODIwOA== "
            sr[6] = "http://player.youku.com/embed/XMzE0MzQwNDgxNg=="
            sr[7] = "http://player.youku.com/embed/XMzE0MzQxMDUxMg=="
            sr[8] = "http://player.youku.com/embed/XMzE0NTA3MTUxMg=="
            sr[9] = "http://player.youku.com/embed/XMzE0MzQwNTk4OA=="
            sr[10] = "http://player.youku.com/embed/XMzE0MzQwODk5Mg=="
            sr[11] = "http://player.youku.com/embed/XMzE0NTAzNzgyOA=="
            sr[12] = "http://player.youku.com/embed/XMzA5NTE4ODg2NA=="
            sr[13] = "http://player.youku.com/embed/XMzE0MzQyODQyNA=="
            sr[14] = "http://player.youku.com/embed/XMzE0MzQyNDU2MA=="
            sr[15] = "http://player.youku.com/embed/XMzE0MzQyNDI4MA=="
            sr[16] = "http://player.youku.com/embed/XMzE0MzQyMTg2NA=="
            sr[17] = "http://player.youku.com/embed/XMzE0MzQyMTI2MA=="
            sr[18] = "http://player.youku.com/embed/XMzE0MzQyMDcxNg=="
            sr[19] = "http://player.youku.com/embed/XMzE0MzQxOTA3Mg=="
            sr[20] = "http://player.youku.com/embed/XMzE0MzQxOTcwNA=="
            sr[21] = "http://player.youku.com/embed/XMzE0MzQxODQ0MA=="
            sr[22] = "http://player.youku.com/embed/XMzA5NTE4OTQ5Mg=="
            sr[23] = "http://player.youku.com/embed/XMzE0MzQyNTk4NA=="
            sr[24] = "http://player.youku.com/embed/XMzE0MzQyNjQxMg=="
            sr[25] = "http://player.youku.com/embed/XMzE0MzQyNzkxNg=="
            sr[26] = "http://player.youku.com/embed/XMzE0MzQyNjk3Ng=="
            sr[27] = "http://player.youku.com/embed/XMzA5NTE4MjA2NA=="
            sr[28] = "http://player.youku.com/embed/XMzA5NTE4MzY4OA=="
            sr[29] = "http://player.youku.com/embed/XMzA5NTE4NDM0MA=="
            sr[30] = "http://player.youku.com/embed/XMzA5NTE4NTA2NA=="

            document.getElementById("content").innerHTML = "<iframe height=550 width=800 src='" + sr[index - 1] + "'  frameborder=0 'allowfullscreen'></iframe>";

            var tit = new Array()
            tit[0] = "添加商品"
            tit[1] = "添加SKU"
            tit[2] = "在售商品"
            tit[3] = "下架商品"
            tit[4] = "定时商品"
            tit[5] = "内容管理"
            tit[6] = "首页定制"
            tit[7] = "店铺信息"
            tit[8] = "店铺分类"
            tit[9] = "配送模板"
            tit[10] = "小程序设置"
            //document.getElementById("title").innerHTML(tit[index - 1]);
            document.getElementById("title_" + (index - 1)).style.display = "";
        }

        load();

    </script>
</body>
</html>